   const express = require('express');
   const app = express();
   const port = 8080;

   // 中间件，用于解析 JSON 格式的请求体
   app.use(express.json());

   // POST 请求处理
   app.post('/api/test', (req, res) => {
       const requestBody = req.body;
       console.log('Received POST request with body:', requestBody);

       // 简单的应答
       const response = {
           message: 'Request received successfully!',
           data: requestBody
       };

       res.status(200).json(response);
   });

   // 启动服务器
   app.listen(port, "0.0.0.0", () => {
       console.log(`Server is running on http://0.0.0.0:${port}`);
   });
